package cn.com.lyj6851.modules.order.service.dto;

import cn.com.lyj6851.serializer.BigDecimalSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PriceGroupDto {

    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal costPrice;

    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal storeFreePostage;

    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal storePostage;

    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal totalPrice;

    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal vipPrice;

}